package com.rm.zeyou.mapper;

import com.rm.zeyou.entity.OrderDictConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 订单参数配置表 Mapper 接口
 * </p>
 *
 * @author YanYang
 * @since 2025-04-07 15:40:28
 */
@Mapper
public interface OrderDictConfigMapper extends BaseMapper<OrderDictConfig> {

    @Select("select value from t_order_dict_config where code = 'technician_take_order_time' ")
    String getTechnicianTakeOrderTime();

    @Select("select value from t_order_dict_config where code = 'arrival_fare_price' ")
    String getArrivalFarePrice();

    @Select("select value from t_order_dict_config where code = 'start_fare_price' ")
    String getStartFarePrice();

    @Select("select value from t_order_dict_config where code = 'start_item_price_rate' ")
    String getStartItemPriceRate();
}
